package com.yunhe.common.model.data;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 日循环度电收益记录对象
 * @desc 度电收益对象统计(日)
 * @author liuronglei
 */
public class CostProfitDayRecord implements Serializable {

    private Long devCode;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dtime;

    private Double chargeIncome;

    private Double dischargeIncome;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    private Double chargeVal;

    private Double disChargeVal;


    public Long getDevCode() {
        return devCode;
    }

    public void setDevCode(Long devCode) {
        this.devCode = devCode;
    }

    public Double getChargeIncome() {
        return chargeIncome;
    }

    public void setChargeIncome(Double chargeIncome) {
        this.chargeIncome = chargeIncome;
    }

    public Double getDischargeIncome() {
        return dischargeIncome;
    }

    public void setDischargeIncome(Double dischargeIncome) {
        this.dischargeIncome = dischargeIncome;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Double getChargeVal() {
        return chargeVal;
    }

    public void setChargeVal(Double chargeVal) {
        this.chargeVal = chargeVal;
    }

    public Double getDisChargeVal() {
        return disChargeVal;
    }

    public void setDisChargeVal(Double disChargeVal) {
        this.disChargeVal = disChargeVal;
    }

    public Date getDtime() {
        return dtime;
    }

    public void setDtime(Date dtime) {
        this.dtime = dtime;
    }

    @Override
    public String toString() {
        return "CostProfitDayRecord{" +
                "devCode=" + devCode +
                ", dtime=" + dtime +
                ", chargeIncome=" + chargeIncome +
                ", dischargeIncome=" + dischargeIncome +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", chargeVal=" + chargeVal +
                ", disChargeVal=" + disChargeVal +
                '}';
    }
}
